﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using dal;

/// <summary>
///DBManager 的摘要说明
/// </summary>
public class DBManager
{
    public static CMSEntities GetDB()
    {
        return new CMSEntities();
    }

    /// <summary>
    /// 股票医生
    /// </summary>
    public static string qgqp
    {
        get
        {
            return System.Configuration.ConfigurationManager.ConnectionStrings["qgqp"].ConnectionString;
        }
    }

    public static string qgqp2
    {
        get
        {
            return System.Configuration.ConfigurationManager.ConnectionStrings["qgqp2"].ConnectionString;
        }
    }

    public static string BBS
    {
        get
        {
            return System.Configuration.ConfigurationManager.ConnectionStrings["BBSDB"].ConnectionString;
        }
    }

    public static string CCVMS
    {
        get
        {
            return System.Configuration.ConfigurationManager.ConnectionStrings["UrlConn"].ConnectionString;
        }
    }

    public static string emweb_new
    {
        get
        {
            return System.Configuration.ConfigurationManager.ConnectionStrings["emweb_new"].ConnectionString;
        }
    }

    public static string CollectUrlConn
    {
        get
        {
            return System.Configuration.ConfigurationManager.ConnectionStrings["UrlConn"].ConnectionString;
        }
    }

    public static string MainQuoteDB
    {
        get
        {
            return System.Configuration.ConfigurationManager.ConnectionStrings["MainQuoteDB"].ConnectionString;
        }
    }

    public static string MainQuoteDB2
    {
        get
        {
            return System.Configuration.ConfigurationManager.ConnectionStrings["MainQuoteDB2"].ConnectionString;
        }
    }

    public static string NewDMSConnstr
    {
        get
        {
            return System.Configuration.ConfigurationManager.ConnectionStrings["New_DMS"].ConnectionString;
        }
    }


}
